﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class MobileHomeTopicsInfoConfig : EntityTypeConfiguration<MobileHomeTopicsInfo>
    {
        public MobileHomeTopicsInfoConfig()
        {
            ToTable("Himall_MobileHomeTopics");
          
            HasRequired(x => x.Himall_Topics).WithMany(x => x.Himall_MobileHomeTopics).HasForeignKey(x => x.TopicId);
        }
    }
}
